package model

import "github.com/gogf/gf/v2/os/gtime"

type LoginLogListInput struct {
	Username  string `json:"username" in:"query" dc:"用户名"`
	StartDate string `json:"start_date" in:"query" v:"date" dc:"开始时间"`
	EndDate   string `json:"end_date" in:"query" v:"date" dc:"结束时间"`
	PageSizeReq
}
type LoginLogListItem struct {
	UserId     uint64      `json:"user_id" dc:"用户id"`
	Username   string      `json:"username" dc:"账号"`
	IpAddress  string      `json:"ip_address" dc:"ip地址"`
	DeviceInfo string      `json:"device_info" dc:"设备信息"`
	LogType    uint        `json:"log_type" dc:"操作类型"`
	Platform   string      `json:"platform" dc:"操作系统"`
	Browser    string      `json:"browser" dc:"浏览器"`
	LogRemark  string      `json:"log_remark" dc:"备注"`
	CreatedAt  *gtime.Time `json:"created_at" dc:"创建日期"`
}
